package com.powerunion.datacollection.persistence.db.jdbc.base;


/**
 * 参数值对象
 * 专门负责Sql语句参数输入值的对象类
 * @author qyw
 *
 */
public class BaseParameter {
  private int type; //参数类型
  private Object value; //参数值
  public BaseParameter(Object value) {
    this( -1001, value); //无需注明类型
  }

  public BaseParameter(int type, Object value) {
    this.type = type;
    this.value = value;
  }

  public int getType() {
    return type;
  }

  public Object getValue() {
    return value;
  }

}

